using MediatR;
using B.S.XZYData.ErrorCode;
using System.Collections.Generic;

namespace B.S.XZYData.Api.Read.Application.Command.Process
{
    /// <summary>
    /// 获取所有工序名称命令（无任何参数）
    /// </summary>
    public class GetAllProcessNamesCommand : IRequest<ApiResult<List<ProcessNameDto>>>
    {
    }

    /// <summary>
    /// 工序名称下拉 DTO
    /// </summary>
    public class ProcessNameDto
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 工序名称
        /// </summary>
        public string ProcessName { get; set; } = string.Empty;
    }
}